//
//  BaseLinearLayout.swift
//  通用LinearLayout
//
//  Created by jin on 2024/9/29.
//

import TangramKit
import UIKit

class BaseLinearLayout: TGLinearLayout {
    init() {
        super.init(frame: .zero, orientation: .vert)
        initViews()
        initDatum()
        initListeners()
    }
    
    init(orientation: TGOrientation) {
        super.init(frame: .zero, orientation: orientation)
        initViews()
        initDatum()
        initListeners()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        initViews()
        initDatum()
        initListeners()
    }
    
    /// 找控件
    func initViews() {}

    /// 设置数据
    func initDatum() {}

    /// 设置监听器
    func initListeners() {}
}
